﻿using System.ComponentModel.DataAnnotations;

namespace Exam.Model
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class SysUser
    {
        [Key]
        public int Id { get; set; }
        //登录的账号
        public string? account { get; set; }
        //密码
        public string? password { get; set; }

        //手机号
        public string? phone { get; set; }
        //状态
        public bool? state { get; set; }
        public List<SysUser_Role> User_Roles { get; set; }

        public List<UserPaper> UserPapers { get; set;}

    }
}
